<?php
/**
 * beimuaihui System
 * Copyright(c) 2011-2020 beimuaihui.
 * @license    http://www.gnu.org/licenses/gpl.html     This software Under GPL V3 License
 * beimuaihui@gmail.com
 * http://code.google.com/p/beimuaihui/
 * $Id: IndexController.php 228 2011-05-20 03:18:14Z beimuaihui $
 */
require_once 'Zend/Controller/Action.php';
class Microblog_IndexController extends Baogg_Controller_Action_Site
{
	/**
	 * The default action - show the home page
	 */
	public function indexAction ()
	{
		//$arr_info=array();
		//$json_se_search=json_encode($this->_helper->widget->getJson('se_search',array('kw'=>'广州')));
		$this->view->se_search=$this->_helper->widget('se_search');//,array('data'=>$arr_info,'json_se_search'=>$json_se_search)

		$this->view->joomla15_crawl=$this->_helper->widget('joomla15_crawl',array('categories'=>$this->_helper->widget->getCategories('joomla15_crawl')));
		
			
		
		
		//$this->_helper->viewRenderer->setNoRender();
		/* if(!$_POST || !isset($_POST['kw'])){
			
		} */
		
		/* if(($arr_info=Baogg_Cache::get('widget_se_search'))!==false){
			$this->view->se_search=$this->_helper->widget('se_search',array('data'=>$arr_info));
			return;
		}
		$arr_info=Microblog_InfoSource::getData($_POST['kw']);
		$this->view->se_search=$this->_helper->widget('se_search',array('data'=>$arr_info)); */


	}
	public function headerAction ()
	{
	}
	public function navigatorAction ()
	{
	}
	public function rightsAction ()
	{
	}
	public function bodyAction ()
	{
	}
	public function articleAction ()
	{

		/*  $this->headLink()->appendStylesheet('/styles/basic.css')
		 ->headLink(array('rel' => 'favicon',
		'href' => '/img/favicon.ico'),
		'PREPEND')
		->prependStylesheet('/styles/moz.css',
		'screen',
		true,
		array('id' => 'my_stylesheet'));
		echo $this->headLink();*/

	}
}
